<?php
       $hotelmodel=$this->load->model('hotel_model');
       $featured_acc_arr=$hotelmodel->get_featured_accomodation();
?>
<?php if($featured_acc_arr):?>
      <div><img src="<?php echo base_url(); ?>images/facc_top.jpg" width="199" height="53" /></div>
      <div class="featured-acc_box">
        <div><img src="<?php echo base_url(); ?>images/uploads/original/<?php echo $featured_acc_arr[0]['image']; ?>" width="175" height="122" /></div>
        <h1><?php echo $featured_acc_arr[0]['title'];?></h1>
        <div class="text"><?php echo (strlen($featured_acc_arr[0]['desc'])>150)?substr($featured_acc_arr[0]['desc'], 0, 150)."...":$featured_acc_arr[0]['desc'];?><!--If you're looking to explore the city or escape it, Cinnamon Grand is your perfect haven. We're in the heart of Colombo's business, shopping and entertainment--></div>
      </div>
      <?php endif;?>